<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/9/11
  Time: 15:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ include file="../../common/web_top.jsp" %>

<div class="bgSortScroll">
    <!-- ngIf: HbHr.hr231 -->
    <datainport ng-if="HbHr.hr231" class="ng-scope">
        <div class="public-bgContent" ng-init="load()">
            <!--<div class="public-bghint">
                <span>操作</span>
                <i class="iconfont icon-icon-copy-copy"></i>
            </div>-->
            <div class="public-bghint">
                <span ng-click="show('caozuo')" style="cursor: pointer;">提示操作</span>
                <i class="iconfont icon-icon-copy-copy"></i>
            </div>
            <ul class="public-ulList set-listH" ng-show="setShow.caozuo">
                <li>数据导入前，建议先备份数据；</li>
                <li>请先下载导入数据模版，以便正确的导入数据，导入格式请使用.xls，点击这里下载<a
                        <%--href="http://120.77.213.57:8090/ks_manager/upload/daoru.xls"--%>><span
                        style="color:#E55A5B" id="templateSelect">【导入模版】</span></a></li>
            </ul>
            <div style="height: 20px;"></div>
            <div class="set-line dataDubl-line"></div>
            <div style="padding-top:12px;line-height: 38px;">
                <div class="se-re se-re-order" style="position: relative; top: -1px;">
                    <select id="product_select_list" style="border: 1px solid #ddd;
    width: auto;
    height: 35px;
    border-radius: 3px;
    padding-left: 10px;
    margin-right: 5px;">

                    </select>
                    <script type="text/x-handlebars-template" id="product_select_list_tpl" >
                        <option value="">选择产品</option>
                        {{#each .}}
                        <option value="{{id}}">{{product_name}}</option>
                        {{/each}}
                    </script>
                    <span class="se-po se-po-order-left"></span>
                </div>
                <span id="picker" ng-init="initbtn()" class="tabeem emwhite webuploader-container"><div>浏览本地</div><div id="rt_rt_1cr6vj3g4189og33p1l15at10qs4"
                                                                style="position: absolute; top: 0px; left: 6px; width: 56px; height: 33px; overflow: hidden; bottom: auto; right: auto;"><label
                        style="opacity: 0; width: 100%; height: 100%; display: block; cursor: pointer; background: rgb(255, 255, 255);"></label></div></span>
                <span class="tabeem" id="upload" style="cursor: pointer;margin-left: 7px;">确定上传</span>
                <span style="margin-left: 15px;" ng-bind="data.url" class="ng-binding">请上传.xls格式文件</span>
            </div>
        </div>
    </datainport><!-- end ngIf: HbHr.hr231 -->
</div>

<%--产品选择弹窗--%>
<div class="winBox product_winBox">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box"><!-- 说明： 选择已有客户 -->
        <div class="winBox6 ">
            <div class="being">
                <div class="headerBox">
                    <span class="headerSpan">选择对应的产品模板</span>
                    <i class="iconfont icon-wrong headerIcon" ng-click="location.reload();"></i>
                </div>
                <div class="contentBox">
                    <div class="centerBox" style="height: 470px;">
                        <table class="table table-hover tabBe">
                            <thead>
                            <tr>
                                <td>选择</td>
                                <td>创建时间</td>
                                <td>产品名称</td>
                                <td>所属公司</td>
                            </tr>
                            </thead>
                            <tbody id="product_list"></tbody>
                            <script type="text/x-handlebars-template" id="product_list_tpl">
                                {{#each .}}
                                <tr class="">
                                    <td>
                                        <input type="radio" id="product_radio" name="product_radio" value="{{id}}"
                                               pid="{{id}}" style="height: 36px;">
                                    </td>
                                    <td class="">{{create_time}}</td>
                                    <td class="">{{product_name}}</td>
                                    {{#if d_name2}}
                                    <td class="">{{d_name2}}&gt;&nbsp;{{d_name}}</td>
                                    {{else}}
                                    <td class="">{{d_name}}</td>
                                    {{/if}}
                                </tr>
                                {{/each}}
                            </script>
                        </table>
                    </div>
                    <div class="footerBox" style="padding: 15px; display: block;">
                        <div class="footerBtn">
                            <button class="confirm">确定所选</button>
                        </div>
                        <div class="footerRight">
                            <div class="page-container product-page-container"
                                 style="float: right; padding: 15px 0;"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="static/js/page/set/dataImport/dataImport.js?_v=190102162154"></script>

<%@ include file="../../common/web_bottom.jsp" %>
